//
//  AppDelegate+StaticMethod.h
//  HomeworkAssistant
//
//  Created by mal on 15/11/10.
//  Copyright © 2015年 mal. All rights reserved.
//

#import "AppDelegate.h"

extern int const SMALL_FONT_SIZE;
extern int const MIDDLE_FONT_SIZE;
extern int const BIG_FONT_SIZE;

@interface AppDelegate (StaticMethod)
/**
 *  获取服务器请求根url
 *
 *  @param serverAddr <#serverAddr description#>
 */
+ (void)setServerAddr:(NSString*)serverAddr;
+ (NSString*)getServerAddr;

+ (void)setUserId:(NSString*)userId;
+ (NSString*)getUserId;

+ (void)setUserName:(NSString*)userName;
+ (NSString*)getUserName;

+ (void)setUserTrueName:(NSString*)userTrueName;
+ (NSString*)getUserTrueName;

+ (void)setUserDepartmentId:(NSString*)departmentId;
+ (NSString*)getUserDepartmentId;

+ (void)setViewBgImg:(NSString*)bgImg;
+ (NSString*)getViewBgImg;

+ (int)getThemeType;
+ (void)setThemeType:(int)type;
//设置字体大小
+ (void)setFontSize:(int)size;
+ (NSInteger)getFontSize;

@end
